![]() | ![]() | ![]() | ![]() |
If you have associated user-defined formats on measures within an OLAP cube, the formats will be ignored when data is returned from a query. The unformatted values will be returned instead. No warning or error will generated in the log.
To display the formatted values, you can use an IIF function:
iif([Measures].[Value] or [Measures].[Value] = 0,
PUT([Measures].[Value],"myfmt."),
"NO VALUE")
|
Any user-defined format referenced in this way must be accessible by the SAS® OLAP Server and stored in a permanent format catalog.
Beginning with SAS 9.2, most user-defined formats are supported. However, if a user-defined format references other formats, such as the ones in the following example, the formats will be ignored by the OLAP measure. The previous MDX expression is an appropriate alternative if you are using this type of format.
PROC FORMAT LIB=OLAPSAMP;
VALUE hwgroup
low -< 0.5 = [PERCENT8.2]
0.50 - high = [8.2];
RUN;
|
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS OLAP Server | Linux | 9.1 TS1M0 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.3 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows NT Workstation | 9.1 TS1M0 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |||
Microsoft Windows 2000 Server | 9.1 TS1M0 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 | ||
z/OS | 9.1 TS1M0 | 9.3 TS1M0 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.3 TS1M0 | ||
OpenVMS Alpha | 9.1 TS1M0 | 9.3 TS1M0 | ||
Tru64 UNIX | 9.1 TS1M0 | 9.3 TS1M0 |